<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
MyFilter 计数器的值：<%=request.getAttribute("hitCount") %>
<xmp>
   WebContent/WEB-INF/web.xml
   <filter>
		<filter-name>LogFilter</filter-name>
		<filter-class>zdy.web.filter.MyFilter</filter-class>
		<init-param>
			<param-name>Site</param-name>
			<param-value>老师的过滤器</param-value>
		</init-param>
	</filter>
	<filter-mapping>
		<filter-name>LogFilter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
</xmp>
</body>
</html>